#!/bin/bash

if [ `id -u` != 0 ] ; then
    echo "you are not root! press a key, not shift/ctrl/alt"
    read -n 1 -s
    exit 1
fi


modprobe msr
modprobe cpuid
./amdmsrt
rmmod msr
rmmod cpuid

